﻿<UserControl x:Class="IssueVision.Client.NewIssue"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <ContentControl x:Name="issueEditorContentControl" Grid.Row="0" Grid.Column="0"
                        HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" />
        <Button Grid.Row="1" Grid.Column="0"
                VerticalAlignment="Top" HorizontalAlignment="Right" 
                Height="23" Width="75" Margin="0,5,86,5" 
                Content="Submit"
                Command="{Binding Path=SubmitChangeCommand}"/>
        <Button Grid.Row="1" Grid.Column="0"
                VerticalAlignment="Top" HorizontalAlignment="Right"
                Height="23" Width="75" Margin="0,5,5,5" 
                Content="Cancel"
                Command="{Binding Path=CancelChangeCommand}"/>
    </Grid>
</UserControl>
